package org.vaadin.golfscoretracker.ui.controller;

import com.vaadin.data.Container;

public interface DataEditorController<A> {

    public Container getContainer();

    public void save(A pojo);

    public void remove(A pojo);

    public boolean addItem(Container container, A pojo);

    public void updateItemProperties(Container container, A pojo);

    public A createPojo();
}
